class Project < ActiveRecord::Base

  #-------- model
    belongs_to :user
    has_many :tasks

  #-------- validations
  validates_presence_of :user_id,:description,:name,:status, :message => " no puede estar vacío"
end
